<!DOCTYPE html>
<style>
section {
  display: inline-block;
}
div {
  white-space: pre;
  font-family: Ahem;
  font-size: 20px;
  line-height: 1;
  width: 10ch;
  border: 1px solid black;
}
</style>
<section>
  <div>12345<br>12345<br>12345</div>
  <div>12345<br> 12345<br> 12345</div>
  <div>12345<br>  12345<br>  12345</div>
  <div>12345<br>12345<br>12345</div>
  <div>12345<br>  12345<br>  12345</div>
</section>
<section>
  <div>     12345<br>   12345<br>   12345</div>
  <div>     12345<br>    12345<br>    12345</div>
  <div>     12345<br>     12345<br>     12345</div>
  <div>     12345<br>     12345<br>     12345</div>
  <div>     12345<br>   12345<br>   12345</div>
</section>
